package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;
import org.springframework.web.multipart.MultipartFile;


import java.util.Date;
import java.util.List;

import java.util.List;
import java.util.Map;


public interface OrdersettingService {
    void upload(MultipartFile file);


    /**
     * 根据日期查询
     * @param year 年份
     * @param month 月份
     * @return
     */
    List<OrderSetting> getOrderSettingByMonth(int year, int month);

    /**
     *根据日期编辑
     * @param orderDate
     * @param number
     */
    void editNumberByDate(Date orderDate, int number);

    List<Map> getOrderSettingByMonth(String year, String month) ;

    OrderSetting findByDate(Date orderDate);

    void updateReservations(OrderSetting orderSetting);
}
